<script setup lang="ts">
import GlobalHeader from "../components/GlobalHeader.vue";
</script>

<template>
  <div id="userLayout">
    <el-container style="min-height: 100vh">
      <el-header>
        <global-header/>
      </el-header>
      <el-main class="content">
        <router-view/>
      </el-main>
    </el-container>
  </div>
</template>

<style scoped>
:deep(.el-header) {
  padding: 0;
}

#userLayout {
}

#userLayout .header {
  box-shadow: #eee 1px 1px 5px;
}

#userLayout .content {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #e2e2e2, #9dbde3);
}

#userLayout .footer {
  background-color: #efefef;
  padding: 16px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
</style>
